package com.xuc.ctrl;

import com.xuc.model.ReturnError;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/t")
public class RestCtrl {

    @GetMapping("/t")
    public ReturnError a(String a){
        return  new ReturnError(a,null);
    }

    @GetMapping("/tt")
    public ReturnError at(String a){
        return  new ReturnError(a,null);
    }
}
